package com.bp.hearthealth.pulse.lnapps.ads.admob.rewarded_ad

import com.bp.hearthealth.pulse.lnapps.BpApplication
import com.google.android.gms.ads.rewarded.RewardedAd

interface AdMobRewardedAdListener {
    fun onAdClicked() {} // 广告点击事件回调
    fun onAdDismissedFullScreenContent() {
        BpApplication.adIsShow = false
    } // 广告完全关闭时回调

    fun onAdFailedToShowFullScreenContent() {}// 广告展示失败时回调
    fun onAdImpression() {} // 广告印象事件回调
    fun onAdShowedFullScreenContent() {
        BpApplication.adIsShow = true
    } // 广告完全展示时回调

    fun onNotReady() {} // 广告未准备好
    fun onAdClosed() {} // 广告被关闭（总开关）
    fun onAdLoaded(rewardedAd: RewardedAd) {} // 广告加载成功
    fun onAdFailedToLoad() {} // 广告加载失败
}